package apiday03home;

import java.util.ArrayList;
import java.util.Collection;

public class ContainAllHome {
    public static void main(String[] args) {
        Collection c = new ArrayList();
        c.add("love");
        c.add("me");
        Collection c1 = new ArrayList();
        c1.add("dada");
        boolean a = c.containsAll(c1);//判断c中是否包含c1中的所有元素
        System.out.println(a);
    }
}
